#!/usr/bin/env python
#Boa:App:BoaApp

import wx

import Frame_JanelaPrincipal

modules ={u'Dialog_AdicionarRecurso': [0, '', u'Dialog_AdicionarRecurso.py'],
 u'Dialog_CadastrarNovoRecurso': [0, '', u'Dialog_CadastrarNovoRecurso.py'],
 u'Dialog_EditarSenha': [0, '', u'Dialog_EditarSenha.py'],
 u'Frame_CadastroUsuario': [0, '', u'Frame_CadastroUsuario.py'],
 u'Frame_Comentarios': [0, '', u'Frame_Comentarios.py'],
 u'Frame_CriarEvento': [0, '', u'Frame_CriarEvento.py'],
 u'Frame_EditUsuario': [0, '', u'Frame_EditUsuario.py'],
 u'Frame_Evento': [0, '', u'Frame_Evento.py'],
 u'Frame_JanelaPrincipal': [1,
                            'Main frame of Application',
                            u'Frame_JanelaPrincipal.py'],
 u'Frame_PaginaUsuario': [0, '', u'Frame_PaginaUsuario.py'],
 u'Frame_TelaApresentacao': [0, '', u'Frame_TelaApresentacao.py']}

class BoaApp(wx.App):
    def OnInit(self):
        self.main = Frame_JanelaPrincipal.create(None)
        self.main.Show()
        self.SetTopWindow(self.main)
        return True

def main():
    application = BoaApp(0)
    application.MainLoop()

if __name__ == '__main__':
    main()
